package com.ezonsport.android.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TableRow;

import com.ezonsport.android.EzonSportMobileV2Activity;
import com.ezonsport.android.R;

public class MoreOperationActivity extends Activity {
	
	private TableRow mRowSetting;
	private TableRow mRowAccountManage;
	private TableRow mRowFeedBack;
	private TableRow mRowHelp;
	private TableRow mRowAbout;
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.more_operations);
        
        mRowSetting = (TableRow)findViewById(R.id.moreoperations_setting);
        
        mRowAccountManage = (TableRow)findViewById(R.id.moreoperations_accountmanage);
        mRowFeedBack = (TableRow)findViewById(R.id.moreoperations_feedback);
        mRowHelp = (TableRow)findViewById(R.id.moreoperations_help);
        mRowAbout = (TableRow)findViewById(R.id.moreoperations_about);
        
        mRowSetting.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(MoreOperationActivity.this, SettingActivity.class);
				startActivity(intent);	
			}
        });
        mRowAccountManage.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(MoreOperationActivity.this, AccountManage.class);
				startActivity(intent);	
				
			}
        });
        mRowFeedBack.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(MoreOperationActivity.this, FeedActivity.class);
				startActivity(intent);	
			}
        });
        mRowHelp.setOnClickListener(new View.OnClickListener() {
	
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(MoreOperationActivity.this, HelpActivity.class);
				startActivity(intent);	
			}
		});
        mRowAbout.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent();
				intent.setClass(MoreOperationActivity.this, AboutActivity.class);
				startActivity(intent);
			}
		});

    }
}
